package org.BUPT.infrastructure.persistent.DAO;

import org.BUPT.infrastructure.persistent.po.Message;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface MessageDAO extends CrudRepository<Message,Integer> {
    List<Message> findMessagesByDestUserId(int destUserId);
}
